lst = [1, 2, 3, 4]
lst_1 = []
print("这些数各是:")
for a in lst:
    for b in lst:
        if a != b:
            for c in lst:
                if a != c and b != c:
                    count = a * 100 + b * 10 + c
                    lst_1.append(count)
                    print(count)
print("共有{:d}组".format(len(lst_1)))

